package edu.neumont.pro180._2009_q2.chess;

import java.util.Collection;

import edu.neumont.pro180._2009_q2.GamePieceMove;
import edu.neumont.pro180._2009_q2.Square;

public class Rook extends LinearlyMovingPiece {

	private final int value = 5;
	
	@Override
	public int getValue() {
		return value;
	}
	
	@Override
	public Collection<Square> getPossibleSquares() {
		return getVerticalAndHorizontals(this.getPosition(), -1);
	}

	@Override
	public GamePieceMove getMove(Square destination) {
		// TODO: Implement logic for castling. See the Pawn class for an example
		// of custom move classes.
		return super.getMove(destination);
	}
}
